package com.hgl.bi.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hgl.bi.web.entity.UserEntity;
import com.hgl.bi.web.model.dto.LoginDto;
import com.hgl.bi.web.model.dto.RegisterDto;
import com.hgl.bi.web.model.vo.LoginInfoVo;

import java.util.List;

/**
 * @program: BI
 * @description: 用户服务层
 * @author: hgl
 * @create: 2025-02-12 16:09
 */
public interface UserService extends IService<UserEntity> {

    void register(RegisterDto registerDto);

    String login(LoginDto loginDto);

    void logout(Long userId);

    void checkToken(String satoken);

    List<String> getUserPermissions(Long userId);
}
